跳到主要内容

DepthStencilAttachment

canvas:beginRenderPass 的深度/模板附件描述符。

字段

view

必需。使用 GPUTexture:view()。

depthLoadOp

depthStoreOp

必需;'discard' 用于临时深度,'store' 用于稍后读取。

depthClearValue

看完还有疑问?进群交流下!
与众多 Rive 创作者、开发者一起交流探讨与答疑解惑。
加入交流群